Adapted to automake v1.14 "subdir-objects" option.