bugfixes in geos and spatialite