autotools: support optionally building the extended Russian and Chinese dictionaries