fix include paths for sqlite3.h and avoid double build of sqlite3.o - refs #162 and #163