elf: fix build