You can alternately just remove the -Wall and -Werror flags from the makefile.
From all appearances the types of these arguments differ depending on your system....