Added check for Windows