fix hb compilation