make compile for "rustc --lib" in Mac