Resolve Linux build errors introduced by Windows performance fix involving hthreads.h and hthreads.c