add spatialite, adapt geos and gdal builds, break out geos and protobuf_c