Fix error uncovered by trying to compile with clang