Add C++11 thread_local storage class keyword.