No functional change. It was not possible to build without threading support before. (cherry picked from commit 59eda029)
mentioned in commit fae1b8da