Turn warnings off for compiling gtest.

Gtest triggers an "unused private field" warning, which causes it to
fail when compiling with -Werror.