Simplified platform detection for Windows