fix jacobi problems
C# solution for building shared object/dll