Add missing include of <pthread.h>

Followup I5e1f4fd2

Change-Id: I7370c7ed579d0e67865c6525fdc8a81e6729607d