Revert "get correct number of cores info in MacOSX"

This reverts commit 3fadb25e2b6c7f6fbb6ba6fd0548e9b400928280.