MPG: used def instead of defs on Darwin detector for prepare_arch.py. Fixed