Update bundled sqlite3
Fix libspatialite usage on Mac