Change to_poly_solver to to_poly_solve.

Fixes #307.