Add Autoconf macro to check for C++11 thread_local storage specifier.