Follow automake update

`AM_PROG_CC_C_O` is needed when automake >= 1.9.x (maybe, tested on 1.12.4)