Support to dynamic library running on target device.

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>