zsh: fix cygwin/msys detection