Similar to #2698. 1. If you use `npm_config_jobs=max node-gyp build --verbose`, the `gyp.opts` has `jobs`. 2. If you use `npm config set jobs max --location project && node-gyp build --verbose`, the `gyp.opts` does not have jobs.