Fix support for NPM package.json install routine