Hide the compare and destroy function pointers and export the set_compare() and set_destroy() functions