BuildDeps.cmd: clear CMake caches if CMake generator is different from the previous run.