Small fixes for the Wall and Werror flags in the new compiler version.