Fixing Rakefile for travis testing