Modify Rakefile to comply with travis needs