Updated CMakeLists.txt for Windows builds