use RbConfig to find OS so cukeforker can be used with JRuby

RUBY_PLATFORM  returns 'java' when JRuby is used even if the underlying OS is darwin or linux.  Using rbconfig fixes the issue.