Added warnings-as-errors support for MSVC.