Added back defines to switch to single-threaded.