Contrib a MacOSX-buildable Lmod/5.8 (and not only)

Get ready for Lmod/5.8, installable on recent macosx variants (implies a tiny patch)
but, the patch is done in a Darwin-specific part of the `configure` script, so modifying `EXTRA_FLAGS` is only done for Darwin anyway?