Visual Studio does not like thread_local