fix output file name in example apps; prune dead code from ConfigBuilder