remove pthreads from sqlite3 if threads=no