modify autogen.sh to support automake-1.13.