Hacked nuget.targets to work on Windows/mono

The NuGet package restore msbuild integration does not work on Windows
(see bug filed here: https://nuget.codeplex.com/workitem/4197).

Hacked the NuGet.targets file to make it compatible.