support for Mac OSX
Merge pull request #11 from c0untd0wn/master

support for Mac OS X