Interoperability issues (PInvoke) - C#