OSX support for homebrew environment

This request provides OSX support for homebrew environment.
Also solves https://github.com/phatina/simple-mtpfs/issues/8.

I have created homebrew formula but homebrew policy requires tarball release.
It would be nice if you could create one (by tagging commit) after this request is merged.

Thanks.