Added mac specific implementation for GetNumberOfCPUs in system primitive.