Work around NodeJS bug involving path extensions

execSync fails to install in Windows because node-gyp is actually defined in a file named 'node-gyp.cmd', triggering an ENOENT when `spawn` runs.

Relevant NodeJS bug:
https://github.com/joyent/node/issues/2318