osx support
Merge pull request #3 from durka/osx-support

osx support