support older versions of NPM