Fix the gem build warnings