Update to rakefile to fix travis issues