workaround for the platforms where PRId64 is not defined.