build: support non-standard replacements for -E flag