MFH: r458080
Fix build with Ruby 2.4+ and unbreak this port
Approved by: portmgr (blanket)
Approved by: ports-secteam (blanket)