replacing deprecated julia_pkgdir() with Pkg.dir()

triggered by this message:

julia> require("Profile")
WARNING: julia_pkgdir is deprecated, use :(Pkg.dir) instead.

cheers,

rene