Fix the CMake for MSVC