Install node-gyp before preinstall.