[cmake] Switching between GCC and Clang/LLVM using CMake