Autodetection is unix only, not linux only

runs on Macs
Merge pull request #29 from jomo/master

Autodetection is unix only, not linux only