change CMakeLists.txt to using the "Windows" keyword for the platform matching