Fix minimum windows version detection

Change-Id: Idba2e5ec81bae1572e6ed8f89055e8bf1ab41ba1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>