linking lib against pthread