fix without java build; am 1.12 for AM_PROG_AR