makefile fixes/cleanup
daemon replies with error
use systemd if available