Extract SBT version (v1.0.4)
(cherry picked from commit 0717271)