configury: use AM_PROG_AR for automake 1.13.

* configure.ac (AM_PROG_AR): Required by recent automake releases,
but not available in very old releases.