build.sh: wget will test download folder writable, fallback to sudo