Adds support for building with luajit branch.