Checking the existence of the "ar". (AM_PROG_AR)

Signed-off-by: Emerson MX <emersonmx@gmail.com>