hack so WM works in luajit