Fix compilation error in -Wall -Werror