Don't link libc++abi separately in addition to the main -lc++; in
mingw build configs, libc++abi is always bundled into libc++
(via LIBCXX_ENABLE_STATIC_ABI_LIBRARY).
In the case of a shared linked libc++, linking a separate static
libc++abi leads to linker errors.
Define _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS while building tests.
Could we instead define it just in the tests that include libcxxabi source files? I don't think there is a lot of those.