Infer element type for general multi-dimensional getindex
Create and use versioned package dir by default.

* On linux, link to common cache dir