Fix Eigen/Roboptim dependencies.