fixed msvc build