Add pthreads for sqlite on linx