Fixing compilation with --enable-werror