moved getWinVersion to platform speciffic file