autotools: Avoid listing the same files twice