Added windows build rules to CMakeLists.txt