Simplify Mac core count detection