Make check_reload_status correctly compile with clang