gnu: mes: Prepare for non-x86 architectures.