Thread local storage is implemented by kernel32.dll so you're limited by what the OS can provide.
So you must either upgrade the OS to 2000 or higher or create an alternative to TLS yourself.