Remove the `ifneq` here and append the paths to DMD not DFLAGS, so that someone overriding DMD doesn't get wrong include/link paths.
Why do you need no-warn-search-mismatch if you already know the MODEL?