Tell curl to follow permanent redirects

Should fix OS build.