Use NEED_PTHREAD_LIB