Fix the rest of the compile warnings