Linux Mac distinction for different settings across OSes