This could be written in terms of OSENV being posix maybe.

In any event, this should be written as an inclusive list of systems that this should apply to rather than "not windows".