[OPENSM] fixed build problem.