MAX_PATH is defined in win32 platform, in linux should added

Signed-off-by: xushuai_linux <xushvai@gmail.com>
include file dlfcn.h just for dynamic linking file

Signed-off-by: xushuai_linux <xushvai@gmail.com>
include string.h for strncpy

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