Ruby's BigDecimal with patches for Ruby 2.1 so it doesn't segfault