Revert "disable Werror temporarily"

This reverts commit 65812579d897abf744df49ca06fc6a73e4a85b7c.