pthread: Determine $(LIB_PTHREAD) correctly on IRIX 6.5.