fix for mac os x
Merge pull request #10 from plicease/osx

fix for mac os x