Fix compiler warnings due to bit rot.