Build fix when threads are disabled [ci skip]
Build fix when threads are disabled [ci skip]

GH #1423

webmaster128/botan,randombit/botan,randombit/botan,randombit/botan,randombit/botan,webmaster128/botan,randombit/botan,webmaster128/botan,webmaster128/botan,webmaster128/botan