fn construct_envp(
    env: BTreeMap<OsString, OsString>,
    saw_nul: &mut bool
) -> CStringArray