Make -Werror available via --enable-debug configure option.
Cleanup warnings.