fix node determine method

the args[0] in windows would be  'c:\\Program Files\\nodejs\\node.exe', so can't simply determine the node by === 'node'