macOS environment variables implementation
