Fix LuaJIT version parsing

- Parsing from LUAJIT_VERSION_NUM is more reliable than LUAJIT_VERSION

This allows us to more reliably find system-provided versions of luajit. Fixes #191