OS-neutral way of GEM_ROOT path expansion