Fix conditional version check for NPM_VERSION. see #417
looks like, we have to test for node and not npm. works for me for node v0.10.30, v0.10.32, v0.11.13, v0.11.14 and npm 1.4.23 and 2.0.0