Add preferGlobal flag to package.json