Apply Leiningen hooks in all relevant scenarios

Fixes gh-7.