fix compilation of multifit