Instead of the horribly broken Distribution.scala, I cloned one that actually compiles from the project's trunk.
Better chances of compilation. Still fails