Fix GCC diagnostic messages.