Revert "Remove Werror flag"

This reverts commit 9d0e0480402f5be4f4fd9c437985524308084561.