port node.js driver from node-waf to node-gyp