[elf] fix $make, rename variables