[mr2997] Improvement Windows CMake auto configuration.