Try and install sqlite3 3.8.6 from source.