Disable building of elf-specific code on Mach-O systems.

The only Mach-O system supported is Darwin.