*: tidy up usage of char **environ

11 files changed