Add -lpthread test dependency.