I needed to add the following packages to get the build to work.
apt-get install python-cheetah kpartx