Adapt to daemonlib define change