Fixed some MSVC specific warnings

Stopped exporting ```std::string``` and ```std::wstring``` directly.
Equivalent to the pull request #222.