Fix ZTS build