[#59498072] Prefer Ruby1.8 if compiled against sdk 10.8 or earlier