Added gtest dependency on pthread