avahi: split build files to avoid cyclic dependencies