rakefile: minor refactoring, license:check command added