fixed issue on older autoconf systems

added m4_pattern_allow([AM_PROG_AR]) to configure.ac