Fixing CMakeLists.txt for windows (makeDependencies)