gyp: further fixes for solaris