Added hacked compatibility for Windows (but with limited features)