Fix build with Cygwin