Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead...