CMake changes to support Windows.