Fix bug where server libraries were downloaded for clients.