Fix bad syntax check in Rakefile