FIXED: link with math-library (-lm) for predictor library