Changed NuGet packages and references to net40