Updated nuspec and added a guard