fix bug, server cant make,because without "-l pthread"