Workaround for deprecated functions in julia-0.3-rc1

This is an workaround for #649