fixed compilation with clang for maces