Added crate_type for lib.