Fix the .NET 4.0 check in installation script