[task] fix the bug for cann't dlopen the static function in class