Pass library flags only, not as-needed-flags,  to ocamlmklib.