Use gnumake specific directive to set DMD only if DC is unset

Don't assume DMD is available everywhere or the only option.