added support for windows platform