Fix "undefined method `licenses='"  when running rake tasks

or upgrade Hoe