Try to compile gtest without pthreads