Fix rakefile for travis