Retarget to .NET 4.5 and fix error.