Moved pthread to gtest cmake