hack(Makefile.am): explicit -lpthread to fix pthread

for some reason pthread_LIBS isn't getting populated. I am not terribly
interested in hunting this down quite yet so hack it for now.

Change-Id: Id18dba7b2d1d9004478d3bc736436628c971f284