better method of locating autoconf and autoheader; patch by Willi Mann