Add a configure flag for enabling -Werror on the command line