Use -fpthread