Add AM_PROG_CC_C_O due to mixing of C and C++ objects in test.