Support MacOSX
Merge pull request #1 from syohex/support-osx

Support MacOSX