Fixed compile error on 2012 due to gtest changes