TS-2172: Explicitly use subdir-objects in automake init

This avoids warnings from automake 1.14 and generates correct configure
script.