fixed a compilation error when the '--without-dso' was specified

When the '--without-dso' configuration option was specified, Tengine couldn't compile.