workaround for rubinius - removing rb_dbl2big usage