Fix typos that make ruby 1.8 break