Change default SPATIALITE_EXTENSION_LIBRARY from "libspatialite.so.3" to "libspatialite.so".