fix issue building gem