Fix compil error on clang