Add back minimal autogen.sh for automake < 1.13.