Activated thread_local again, added header needed for g++