Guard building of thriftserver around Scala 2.10 check