Load INFINITE constant on Windows from correct location
Use same function signature on Windows

LPTHREAD_START_ROUTINE also has a single argument that we use.