Further fixes for SQLite3 support

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>