Use environment variable to control certain slug compiler behaviours.