Modernize makefiles.