Set numThreads to 1 by default when Python is older than 2.5.2.