Finally fixed NuGet targets in an OS-agnostic way.