Add support for OS X
Merge pull request #9 from irrationalfab/osx-support

Add support for OS X