lua: fix build failure w/o lua and a missing include