ADRPAN: attempted macOS support

attempted macOS support