Make sure to unlink a library before recreating it.  Suppress ar's output