fixes DUNE_VERSION_NEWER usage