Even more tweaks to the DASM_FLAGS detection