Revert "Revert "configure.ac: Avoid that automake complains that AM_PROG_AR is missing""

After checking several platforms, we do need this change in order to build.
If CentOS<old-version> does not manage we need to figure out why and how to fix it.

This reverts commit b9cf7e8cd204add080645587afa14b036d61a896.