Instead, use with_system_cxx_lib with various compile-only tests to ensure that we're getting compile-time errors, as expected. This follows the lead of ec46cfef.