test LuaJIT ffi, seems to work (more than) wonderfully
HOST_CC is actually not necessary, it defaults to CC
Make the luajit amalgamation for slightly better performance, and use make's -C flag which is cleaner