update CMakeLists.txt for Windows