Tune automake options to avoid problems with newer versions

Automake >1.14 complains if makefiles are used in subdirs but
the subdir-objects option is not set.