Fixes for environment variables
Use new mozdef lib syslog emulation mode if requested