Fix the check for autoheader in autogen.sh.