Make the build work with -Wall and -Werror.