Modernize and simplify autotools setup.