separated MS Windows related into own file