build: Use subdir-objects with Autotools