Ruby 1.8.7 compatibility

Symbol doesn't have capitalize method defined in Ruby 1.8.7