Fix format string warning on Windows/Mingw32