Corrected version checking on Windows