Add AM_PROG_AR to configure.ac

Otherwise autogen.sh complains about portability