sbt launcher version 0.13.0
Use asInstanceOf to silence unchecked warnings in Gen