Use warning level 4 without exceptions on MSVC.
Fix build batch files.