add w32 porting for new version