Support old nodes that don't use gyp
Fix building with old npm