Scala build fix.