Stack overflow fix

Needed this to compile scala with an sbt built from the inc branch.