Log Message: use PTHREAD_LDFLAGS instead of -lpthread for portability, and include pthread.buildlink2.mk.