Cross-platform AnyCPU P/Invoke for .NET