fixed a compilation error when the '--without-dso' configuaration option was specified
Merge pull request #298 from zhuzhaoyuan/fix-without-dso-compilation

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