Improved CMake for Windows.