Allow Leiningen checkout to be bootstrapped from 2.x.

Fixes #958.