Add workaround to mingw shipping an obsolete version of perl. Remove legacy support for automake < 1.11.