`npm test` for Windows, and fix mocha error: unknown option `--ignore-leaks'

I tweaked the `Makefile` to make `npm test` more compatible in Windows.

mocha was complaining that it didn't recognize the `--ignore-leaks` flag in `Makefile`. Updating to `1.8.x` fixed the problem.