Consuming a C++ DLL in dotnet core