updated CMake build for MSVC