add osx support
Merge pull request #1 from breskeby/master

add osx support