Detect right amount of cpu's available under osx. From Vaibhav Bhembre via github.