improve the dynamiclibloader class

Signed-off-by: xushuai <xushvai@gmail.com>