Detect Windows platform - conditional Gem loading