add processor number detect in OSX with sysctl command
Merge branch 'OSX-processor-nums-detect'