Corrected the way the number of CPU is calculated, apparently the old
method is not working anymore on Yosemite...
Merge pull request #9 from ptitvert/master

Corrected the way the number of CPU is calculated, apparently the old