[API] Add dependencies for Ruby 1.8
[API] Prevent unit test failures on Ruby 1.8