Refactor Rake::Trema::RubyLibraryTask.