Hopefully these changes will let Spatialite work on Travis CI.