fix msm compilation