[build] auto* tools based build: fix `make dist'.