Adds support to build and publish zinc on scala 2.12

This the code used in the 'in-progress' Scala IDE on Scala 2.12 nightly
https://jenkins.scala-ide.org:8496/jenkins/job/master-2.12.0-SNAPSHOT/