[ELF] add dynamic library support