Fix CMake setting for MSVC.