Adds support for building with luajit branch.
travisplexer: pr-528-osx travis ci test