Paritally fix depth read elf
Merge pull request #342 from raven02/patch-28

Paritally fix depth read elf