Fixing up autoreconf issue with missing am_prog

I'm working on a Gentoo/Funtoo/Meta Gentoo ebuild and I had to patch your configure.ac with AM_PROG_AR to get autotools working. I was able to get it build anyways if you don't want to accept this pull request.