updated CMake file for MSVC