Compile fix for sqlite versions prior to 3.7.15, when sqlite3_errmsg was introduced