Moved debug_print declaration above datum_t so that its friend declaration works in clang.