Fix Rakefile to avoid rake execuation 2 times