fixed curl rediret following in macosx prereq script