tweak getting num of cores to build with