zsh: Patch configure (s/cygwin/msys), fixes dynamic modules

Without this none of the dynamically loaded modules worked (e.g. regex).
A simple if [[ "test" ~= "test" ]] .. will repro the problem.