Fix build warnings in checkpoint tester.