cygwin: some special handling