Disable or fix yasm
The currently used version 1.2.0 of yasm fails to compile on ARM-based Macs. This is not a problem really as it is not used to compile ARM binaries. However, it may be needed to compile x86_64 binaries on ARM-based Macs.
For now, we need to find an automatic way to disable the compilation of yasm or just fix its compilation.