Allow build-ebs-image to start in unprivileged mode and use sudo whenever necessary.