Use OS.mac? to check the platform