Restore Windows XP build compatibility
Restore Windows XP build compatibility

`GetThreadId` can be replaced with `GetCurrentThreadId` in the only place where it's called.

codemercenary/autowiring,codemercenary/autowiring,codemercenary/autowiring,codemercenary/autowiring,leapmotion/autowiring,leapmotion/autowiring,leapmotion/autowiring,codemercenary/autowiring,leapmotion/autowiring,leapmotion/autowiring,leapmotion/autowiring,codemercenary/autowiring