Non-Linux support for getting absolute path.