Avoid false positive when detecting OS

`process.platform` in Node returns `'darwin'` on OS X, and then, `isWindows = /win/i.test(os)` becomes `true`. Adding a word boundary works around the issue.

Ref. #11.