[CMakelist] fixing problem with unity build on Windows