Make OS check case-insensitive for Windows