preinstall: Replace exec() with npm.commands.install()

Should be more portable than using a shell of any kind