improved binary detection path on cygwin