Put in a thread requirement early, which is currently needed to get it to run on Linux at least