fn build_env_dict(EnvVars: &BTreeMap<String, String>) -> Dictionary
Constructs a plist Dictionary from environment variable key-value pairs.