cater for sbt 0.12 and later. Read version from ENV