modify ruby config opt to enable shared-lib.