Set a maximum number of build cores