Built Torch in fewer steps by using a shell script.