Fix nuget restore on Mac.