there is another problem is we use MinGW to build gaia on Windows and $PATH in MinGW use `:` to split paths, so we need detect MinGW here:
```js
var isMsys = env.get('OSTYPE') ? true : false;
if (os.indexOf('WIN') !== -1 && !isMsys) { ... }
```