Support automake 1.14 (we need a better autogen.sh)