Fix autogen.sh for daily build