Don't rely on `RUBY_PLATFORM`'s kernel version as it's the machine that Ruby was built on (10.5) for portable ruby.