Fix syntax error under ruby 1.8