makefile: no need for -lsqlite when build with inherit