use -Werror for swig modules and swig itself

this depends on the WITH_WERROR option