sync with latest git master: use Expr rather than deprecated expr, and use Cint and similar typealiases for ccall