ar-lib: new 'AM_PROG_AR' macro, triggering the 'ar-lib' script