Disable pthreads in gtest for travis builds.