Changed build script to test for presence of .NET Framework