make sqlitedb compilable