Added pthreads for google testing.