Fix #18250, building of uwsgi on 10.8.2  

Explicitly check if libyaml had been built with ``--universal``.
Closes #18250