fix lxc detection