Should compile and work with older versions of sqlite3 which do not provide function sqlite3_db_filename()