db: Allow SQLite3 to be used for testing/development.