MADS: Fix compilation with clang