Add IOS_CROSS_COMPILE to macro guard for GetThreadList feature.