Added support for outputting elf files.