Hack 'preinstall' workaround for npm/npm#5001