improve portability of stdtbb