For Component, Resource and UIElement always return concrete object type to Lua.
For Travis CI - switch CI build to use OS X build environment.