Use 'which' on cmd before spawn to avoid erros on Windows

Using Command on Windows leads to the message:

```
CreateProcessW: The system cannot find the file specified.
```

It happens because of `child_process().spawn`. But it can be fixed by using [which](https://github.com/isaacs/node-which).

See https://github.com/gruntjs/grunt/pull/156