Fixing build problems in scala-examples.