Support case-insensitive PATH environment variable name (fixes #202)