Fix failing build; stop using deprecated haikro api