GCC doesn't support __has_attribute.