Fix gem build warnings