SPARK-1786: Reopening PR 724 

Addressing issue in MimaBuild.scala.