fn add_env(builder: &Builder<'_>, cmd: &mut Command, target: TargetSelection)