Updated sqlite3 to use sqlite3_prepare_v2() so it supports PRAGMAS.