Make it possible to use lxc as a library