Improved Elf Linux support