Update autogen.sh, in order to support automake 1.12