Core: add "global" location for non-browser environments