bindings: fix building perl module against system librhash