Import elf.h from glibc 2.17 for scripts/mod/.

This makes the build work out of the box on non-ELF hosts like Mac OS.