Fix Rakefile, replace system() to sh()