Build ELF executable from Erlang, based on: http://www.negrebskoh.net/howto/howto_elf_exec.html