GCC compiler fixes for GMock and GTest.