Fixed pthread gcc option