Expand environment variables in some configuration variable