added: mac os support for setting loc
added: build script for mac os
Merge pull request #1 from hachre/master

Added Mac OS platform support