Update CMake support

compiles now for windows