fix more ccalls for #2901
Merge branch 'master' of github.com:JuliaLang/julia