Fix subdir-objects breakage with latest automake.