updated libhl + conform to the changes in the refcnt API