Use PRIi64 macro to work around clang weirdness