[ALOY-929] fix compile-time conditional child array with <Require>

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