Added support for .NET 4.0 and nuget package generation