Fixed compilation with Xcode 5 and updated libspatialite including dependencies