Support DLL export.
Fix bug.

N/A

Signed-off-by: tiankk <tiankk@gmail.com>
Fix bug.

N/A

Signed-off-by: tiankk <tiankk@gmail.com>