Add AM_PROG_AR which is required with recent autotools.