build: support non-standard replacements for -c flag