MP1-4256 : PInvokeStackImbalance C# call to unmanaged C++ function error after switching to net4