Install Leiningen.
Add build support for g++ 4.6.