Decide automatically whether to use GCC or Clang.