Case-insensitive environment variable names on Windows for process spawning.

Closes #16937

Could these stay private to this module?