Try to add pthread only for clang