Expand environment variables