Fix compile warnings, treated as errors with our 03 optimization