Fixed DLL compile under MSVC.
5 files changed