Follow redirects when installing dependencies