count cpus on MACH systems correctly
simplify and remove static constant