[lib] Make sure the most recent `npm` is installed

Ref: http://blog.npmjs.org/post/85484771375/how-to-install-npm