Replace sub! and gsub! at build time