Restore cd that works with Mac aliases.