Fix compiler error in algorithm component for clang