Add OSX support.
OSX, y u do dat
Merge pull request #1 from flibitijibibo/master

OSX support