Support non-standard scala binary versions

See https://github.com/scala/community-builds/issues/84