added win platform class for windows