Remove Ruby 1.8 specific code

This pull-request is for #583.