windows8. fixes version number parsing logic