oz: better build script

It checks to see if you're running it as root. I don't like sudo much...