Fix 32-bit LuaJIT build for Linux&OSX. Fix host tool building for iOS.
For Travis CI - switch CI build to use RPI build environment.