ISLANDORA-83 Added function to handle Windows detection.