fix up configure.ac to meet requirements

Older versions of automake requires AM_PROG_CC_C_O to appear in
configure.ac, but with libtool, this is not necessary.