[Bug 38859] CMake hangs when detecting msvc10 compiler