fix support for botan-1.11