Adding support for OSX
Merge pull request #23 from ybot78/master

Adding support for OSX