Fix for Cygwin build