Wouldn't [process.platform](http://nodejs.org/api/process.html#process_process_platform) be more appropriate than `process.env.OS` here?

```js
if (process.platform === 'win32' && relative.substr(1, 2) === ':\\') {
```