fixed compilation under locally-installed node-gyp and deps