Add preferGlobal to package.json.