Make localename.c compile with current mingw.