Fix single threaded builds.