Fix Julia 0.4 deprecations warnings

About the new dict syntax.

You may want to merge this in a specific Julia 0.4 branch.