[r4995] task.cpp: - Have CPU core detect on OS X use sysctl() instead
of sysconf()