Fix compiler error for clang