Allow number of CPUs to be configurable