gyp integration under MacOSX and Linux and restructuring proto files