Then you have to skip packaging these modules for the moment. Support for lua 5.4 is planned for the future, there is change in embedding api compared with the older versions, so it requires some development, even it could be a new module if the changes are very incompatible, like it happened with app_python2/3.