Added checks for Windows systems.