Scala 2.11

flags in scala 2.11 were changed and settings neede updated