added a define for PRId64 if it is missing