Quick fix to code who would only work for W8 and up.

Signed-off-by: Difegue <sugoi@cock.li>