fix error getting CPUInfo on darwin.