Check elf header