Small fix to change 32 vs 64 bit thread compiler error.