Fine tune LuaJIT target arch detection logic.
For Travis CI - switch CI build to use OSX build environment.