make curl flags more robust in msys_build.sh

use https://status.julialang.org

set MARCH on appveyor

(cherry picked from commit ce29d785098564b61af0c65113595b1af7ba0acb)

[ci skip] since this is expected to fail on win32 right now due to #9185