Enable utf8 I/O stuff when compiling with MinGW.