Fix for Rakefile and doc generation