Fix compiling on GCC with -Wall -Werror.