Fix ELF64 support