Add pthread as a sqlite extra-libraries