gmock compilation fix