Fix npm -g usage with latest npm version