Fix autogen.sh checker