Define AM_PROG_AR before LT_INIT in configure.ac.

Signed-off-by: Horváth Balázs <q@qroa.ch>