Only use Clang pragma when compiling with clang.