tools: fix automake