Add pthread linker arg.