Add pthread to libswanted

that comment is from another backport