Added ABI mismatch detection on MSVC.