Add patch to fix elf.h error under MacOS.