If no CMAKE_${lang}_COMPILER is available then do not try to run it to determine the compiler vendor.