Fix gtest failing to compile on clang