Fix for UTF8 under cygwin