SI-7624 Fix -feature and some -Xlint warnings

Changes build.xml to build Scala with `-feature` enabled.