fix msvc build