Added option to load luadist as a module.