Range record deprection fixes

https://github.com/elixir-lang/elixir/commit/b3e07652cc57d1c0841129a8ccda284ce0d5e48e - I guess this fixes incompatibility issue, but I'm not sure.