Fix autogen and configure