made it compile with clang