fix target detection in luajit cmakelists