Fixes a syntax error for find the number of cores on the mac.