importing click shells out to 'locale', which currently needs to be in PATH. Fix by setting patching locale command at runtime.