modify src/CMakeLists.txt to build on windows