Fix MSBuild build