build.ps1: Changing the order of execution so when we check if the SDK is installed, it won't crash due to an error.
build.ps1: Changing the order of execution so when we check if the SDK is installed, it won't crash due to an error.

NightOwl888/lucenenet,apache/lucenenet,sisve/lucenenet,apache/lucenenet,jeme/lucenenet,NightOwl888/lucenenet,NightOwl888/lucenenet,jeme/lucenenet,sisve/lucenenet,jeme/lucenenet,apache/lucenenet,jeme/lucenenet,NightOwl888/lucenenet,apache/lucenenet