Fix compilation with -Werror