Makefile: Fix building when static libs are found by default.
messagedirector: Fix disconnect logic for participants to clean up channels.