Update $worker_count regarding the OS

Determination the number of processors in relation to the OS
Merge pull request #36 from Yanovskiy/patch-1

Update $worker_count regarding the OS