- fix non-ZTS build, thanks Hannes