fixes to work with later versions of lxc and dnsmasq