Fix KMODE_EXCEPTION_NOT_HANDLED error on Windows 10