add&compile gtest to external