Merge pull request #1867 from silvergasp/thread_local_globals fix: Change all static variables to thread when fuzzing