Fix propagation of log4c and Kerberos environment variables, spaces in paths not supported.