clang has the awesome __has_extension macros. Update the #if line to fix build against GCC 4.2.1 in base.