Add pthread when linking