[TIMOB-17004] Fixed release builds

Fixes: [TIMOB-17004](https://jira.appcelerator.org/browse/TIMOB-17004)