Add autogen script to build process