add check_lib of pthread