Turn exception on for static_library
Disable warning 4819 and 4291 in VS