make work for automake 1.11

automake 1.11 doesn't recognize AM_PROG_AR

the fix I found isn't necessarily the best solution