misc build issues
diff --git a/autogen.sh b/autogen.sh
index d1885dc..2ca7e5d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,7 +14,7 @@
 autoconf=`find_tool autoconf`
 autoheader=`find_tool autoheader`
 
-mkdir -p config && $aclocal && $libtoolize --copy --force && $automake --copy --add-missing --foreign && $autoheader && $autoconf
+mkdir -p config && $aclocal && $autoheader && $libtoolize --copy --force && $automake --copy --add-missing --foreign && $autoconf
 
 test -n "$NOCONFIGURE" && {
   echo "skipping configure stage as requested."