Fixes x64 builds
Adds support for parameters of type std::wstring.