Full support of Automake < 1.12.2 and >= 1.12.2