configure.ac: make compatible with older automake