msvc build fixed