Fix INVALID_HANDLE_VALUE define name
Merge branch 'fix-compilation-on-windows'

Didn't compile because of wrong name of a define.