Fixed MSVC build