Fixing all the autotools problems.