Log Message: Use PTHREAD_LDFLAGS and PTHREAD_LIBS instead of hard-coded -lpthread. (Fixed build on DragonFly.)