Crashfix in elf loader
Add a few stubs