Fix hamt compilation