Fix warnings in the GCC build.