weechat: detect Ruby 2.2 for cross-build.