minor bug fix
added -Werror to makefile