Hopefully fix OS detection for macs