Add Ruby 1.9 support for BigDecimal