Update configure.ac

Adding a conditional AM_PROG_AR to fix issue #25.