fix to build test without gcov in clang