Modernize dependencies and dist.ini idioms.