Fixed check for thread_local: GCC doesn't support __has_feature.