Added AUTOMAKE_OPTIONS = subdir-objects to makefiles.