Fix zts builds