Deal with empty thread spec if that is what ACX_PTHREAD returns.