fix final case on Cygwin for randomly generated segfaults (issue #120)