Perl XS bindings to klib