Mono compatibility, add NuGet dependency