Do substitutions in build instead of install.