tweaks: constify the result strings of getenv(), as a reminder

Also, remove an unneeded pair of braces.
4 files changed