Using gyp to compile code and suppoting mac