Compute thread headers through shell expansion in configure.
Fixes #485679.
3 files changed