Fix the MSVC build