ec2-build/build-kernel: add CTRL-C handler