Fix build failure relating to ToLineString.
Merge branch 'master' of git://github.com/geotools/geotools