Use stristr for both basic string and array of options for environment

Thought there was no reason to use strstr in one place, and stristr in the other?