Fix some faults in build.sh

- build.sh now acquires nuget.exe properly in Linux environments
- Hide the curl command's stderr

Applying this commit, running ./build.sh on Linux should end up with the same error memtioned in #173.