Clang sets the defines for GCC 4.2.1, so we have to check __clang__ for these macros in addition to the GCC version.