Flag the dynamic_lib tests as ignored

The library isn't thread-safe, cc #9137