updated CMake for windows