Test detecting library by luajit.ffi library.