fix detection of luajit