Move dependencies to the global library