Add compatibilty for building with ruby 2.2.0

Hi,

Ruby 2.2 no longer exposes `struct RFloat` in any of it's public header files. Unfortunately it seems like extensions have to go through the function `double rb_float_value(VALUE);` now. I've been having a lot of fun with this gem so I added a few lines of code to fix this problem.

Thanks!