fix some urls of datasets file (joyent.sh), as well as some fixes in build.sh