Fixed .NET 4.0 detection in installer