build: add "subdir-objects" option in configure.ac