make: conditionally link to libsqlite3.