Add checks for libavcodec and libavutil, as they are also needed
Remove bash-ism from clean: rule
Fix AVAHI after configfile changes