Fix for config-finder.t so cygwin install passes.

This generalizes the set_up_global function to work on anything; this
means that this test passes under both standard Windows (Strawberry)
Perl and cygwin perl.