When running headless, fall back to a simple string comparison for checking Windowsiness.