For gcc4.6, disable C++11 in GoogleMock headers.