mrd6: fix compilation under macOS