ec2-build: move to a common script
ec2-build: update build.sh permissions
ec2-build: build.shfixed arguments