Make sure parallel uses the specified number of cores