Fix platform detection of OSX ('darwin')
Merge pull request #10 from jasperges/master

Fix platform detection of OSX ('darwin')