s/LIBSQLITE_LIBS/SQLITE3_LIBS/ (and CFLAGS)
never return an aggregate; pass in the print buffer instead