Fix unit tests under Cygwin.