added better support for installation in lxc containers