Fix for Ruby 1.8.7 ...

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>