Fixes build error in UnweightedMixture.