Fix npm error on node 0.8.x