Attempt to fix a compile error with older versions of mingw, which have a bug preventing portable format specifiers like PRId64 from being defined. Compile error was introduced by SVN r3707.