Fix to work with new scala-cj version.