main/squark: fix lua module

(cherry picked from commit 1737438dc1b51a7e8f97da50164bc3e2849a3774)