Improve Scala build (Scala 2.11.4, check product count). #15