Fix: getNumProcessors doesn't work unless threaded is enabled.