[TIMOB-17831] Remove compilation warnings

[Jira Ticket](https://jira.appcelerator.org/browse/TIMOB-17831)