Regenerate autotools files and add more build deps.