[ai-0.36-98] os/x build fix