fix process.resolve param error on node.js 0.10.x