configure.ac: Add stuff needed by newer newer autotools

The "subdir-objects" option and AC_PROG_AR was missing.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>