Fix gtest for "make distcheck" (tarball build).

Reinstate gtest internal dependency build.