Make AM_PROG_AR conditional on its existance.