Most likely your issue is that the system init scripts are starting the packaged binary from /usr/sbin/avahi-daemon instead of your compiled binary from /usr/local/sbin/avahi-daemon
I am going to build and propose an SRU to precise & trusty to fix this issue.
For Debian Jessie on your rpi, you'll need to file a bug at bugs.debian.org (though I think there already is one)
Most likely your issue is that the system init scripts are starting the packaged binary from /usr/sbin/ avahi-daemon instead of your compiled binary from /usr/local/ sbin/avahi- daemon
I am going to build and propose an SRU to precise & trusty to fix this issue.
For Debian Jessie on your rpi, you'll need to file a bug at bugs.debian.org (though I think there already is one)