Fix incompatibility with libhaloc