Add compatibility lib for hash_equals