build: fix subdir-objects warnings in automake 1.14

Fix very verbose automake warnings like here:

https://gist.github.com/lubosz/6163524