[ALOY-851] fix defers and conditionals, update _generated

Ticket: [https://jira.appcelerator.org/browse/ALOY-851](https://jira.appcelerator.org/browse/ALOY-851)