Update dependencies and move to .NET 4.5