better conditional loading in rakefile