fix build failure without gtest
Merge pull request #581 from licaiguo/fix-build-without-ut

fix build failure without gtest