set number of cores to build