Fix 64-bit format string issues that were breaking Mac builds