Collapse two additional ruby extensions keys