Don't use thread-local storage
This should allow for building the project with not-so-recent compilers