Improved detection of running ssh-agent for Cygwin