update automake to 1.10, fixes #6022