added -cfg and -tmpl flags to the ebuild.go script