Improves the AllJoyn iOS examples. Overcome compilation error.