Make npm install compatible with node < 0.10