More warnings fixed. Added -Werror to a number of Makefiles.