Merge "Use PRI* macros to fix the Windows build."