Fixed for windows platform.