MOSYNC-2983. Added method to Environment that distinguish between platforms.