build: make build with automake work again

Signed-off-by: Steve Markgraf <steve@steve-m.de>