hanoi: fix compile with current clang