fix scalac options

scala 2.10 is not supported "-Ywarn-unused" and
"-Ywarn-unused-import".