Fixed CMake for Windows