Fix CORS for macs.