Add $DFLAGS detection