Fix c-ares linker problem when USE_SRV:=yes.

Fix dynamic linker problem when USE_SRV is true in Mosquitto by
linking to c-ares here.