Fix rakefile for Travis CI