Revert "Revert "[#1848] turn off -Werror for beta, will re-enable ASAP""

This reverts commit 563da6263eb83bc1a1e06e8bd9e01c4adfbbd856.