Adapt for Windows