minor fixes to rakefile