Rewrite call to AM_PROG_AR to be backwards compatible.