Handle external symbols for ELF and add some static methods to ELFSym