Add compatibility options for msvc - no stack check, no sse2, not std::wstring