Fix npm upgrading on node 0.8