Revert "Added -Werror build option."

This reverts commit 593cf07d53f5cb5350072a6a86e94af4293bd2eb.